package com.cloudbroker.bcs.platform.ltb.bizapi.service.export.vo.request;

import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.HSBCPSVO;

/**
 * Created by xuyn15828 on 2016/5/11.
 */
public class GetUserInfoByCodeForm extends HSBCPSVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    protected String grant_type;
    protected String appid;
    protected String secret;
    protected String code;
    protected Long broker_id;
    
    public String getAppid() {
        return appid;
    }
    
    public void setAppid(String appid) {
        this.appid = appid;
    }
    
    public GetUserInfoByCodeForm putAppid(String appid) {
        this.appid = appid;
        return this;
    }
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public GetUserInfoByCodeForm putCode(String code) {
        this.code = code;
        return this;
    }
    
    public String getGrant_type() {
        return grant_type;
    }
    
    public GetUserInfoByCodeForm putGrant_type(String grant_type) {
        this.grant_type = grant_type;
        return this;
    }
    
    public String getSecret() {
        return secret;
    }
    
    public GetUserInfoByCodeForm putSecret(String secret) {
        this.secret = secret;
        return this;
    }
    
    public void setGrant_type(String grant_type) {
        this.grant_type = grant_type;
    }
    
    public void setSecret(String secret) {
        this.secret = secret;
    }
    
    public Long getBroker_id() {
        return broker_id;
    }
    
    public void setBroker_id(Long broker_id) {
        this.broker_id = broker_id;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("GetUserInfoByCodeForm [grant_type=").append(grant_type).append(", appid=").append(appid)
                .append(", secret=").append(secret).append(", code=").append(code).append(", broker_id=")
                .append(broker_id).append(", user_token=").append(user_key).append(", tenant_id=")
                .append(tenant_id).append("]");
        return builder.toString();
    }
    
}
